package com.compoundsystem.mapper;

import com.baomidou.mybatisplus.core.mapper.BaseMapper;
import com.compoundsystem.admin.pojo.AdminUser;
import org.apache.ibatis.annotations.Select;
import org.springframework.stereotype.Repository;

@Repository
public interface AdminMapper extends BaseMapper<AdminUser> {
    @Select("SELECT *FROM admin_db where username=#{username}")
    AdminUser selectByName(String username);

}
